package com.peng.mybatis.scripting.xmltags;

import lombok.AllArgsConstructor;

/**
 * 静态文本节点
 */
@AllArgsConstructor
public class StaticTextSqlNode implements SqlNode {

    private String text;

    @Override
    public boolean apply(DynamicContext dynamicContext) {
        dynamicContext.appendSql(text);
        return true;
    }

}
